namespace ComHlp.ContentClasses.VirtualControls.ProgramExplorer
{
    /* we receive the following, where each 'entry' is 58 chars long:
     *  [AB01  NGM16  MAB01Auftragsbearbeitung                     ]
        [AB02  NAB01  GAB02Auftragsueberwachung Auswahl  ID        ]
        [AB03  NAB01  GAB03Auftragsueberwachung Anzeige  I         ]
        [AB04  NAB01  GAB04Auftrag Kopfdaten             VD        ]
        [AB05  NAB01  GAB05Auftrag Veredlung             V         ]
        [AB06  NAB01  GAB06sonstige Zu-/Abschlaege       V         ]
        [AB07  NAB01  GAB07Produktionspapiere Veredlung  D         ]
        [AB08  JAB01  GAB08Reservierung                  V         ]
        [AB09  NAB01  GAB09Info Auftragsstatus           V         ]
        [AB10  NAB01  GAB10Grob-Terminierung             V         ]
    */

    public class ItxProgramExplorerEntry
    {
        /// <summary> program name itself </summary>
        public string Program { get; set; }

        /// <summary> program identifier, only display if Y </summary>
        public EProgramExplorerProgramType ProgramIdentifier { get; set; }

        /// <summary> the menu to which this program does belong </summary>
        public string Menue { get; set; }

        /// <summary> menu identifier </summary>
        public EProgramExplorerMenuType MenuIdentifier { get; set; }

        /// <summary> function code to execute when clicked </summary>
        public string FunctionCode { get; set; }

        /// <summary> description to show behind program </summary>
        public string Description { get; set; }

        /// <summary> Icon hint - may be multiple </summary>
        public string Icon { get; set; }

        /// <summary> external program hint </summary>
        public string ExternalProgramHint { get; set; }

        /// <summary> is the entry linked to gm01? </summary>
        public bool Gm02Linked { get; set; }

        /// <summary> description for databinding </summary>
        public string DisplayDescription { get; set; }
    }
}